<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .txt {
        fill: red;
      }
    </style>
  </head>
  <body>
    <svg width="300" height="180">
      <!-- text文本 -->
      <text x="50" y="25" class="txt">Hello World</text>
    </svg>

    <svg viewBox="0 0 30 10" xmlns="http://www.w3.org/2000/svg">
      <circle id="myCircle" cx="5" cy="5" r="4" />

      <!-- use href复制形状 -->
      <use href="#myCircle" x="10" y="0" fill="blue" />
      <use href="#myCircle" x="20" y="0" fill="white" stroke="blue" />
    </svg>
  </body>
</html>
